package cn.itcast.user.mapper;

import cn.itcast.user.pojo.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    
//    @Select("select * from tb_user where id = #{id} and username = #{name}")
    User findById(Page<User> page, @Param("us") User user);
}